package com.tao.service;


import com.tao.common.domain.pojo.Department;
import com.tao.common.domain.pojo.User;

import java.util.List;

public interface UserService {
    public List<User> selectAll(User u);

    public User selectById(User u);

    public int add(User u);

    public int update(User u);

    public int delete(User u);

    public User login(User u);

    public Department selectDeptByID(User u);
}
